import os
import time

import pytest


def main():
    os.system("pytest test_cases.py - -alluredir = allure_result")
    time.sleep(1)
    os.system("allure generate ./report/data/  -o ./report/html --clean")


if __name__ == '__main__':
    main()
